package com.slz3.business.module.wmsManagement.wmsWarningConfig.service;

import com.slz3.business.module.wmsManagement.wmsWarningConfig.domain.WmsWarningConfig;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface WmsWarningConfigService {

    WmsWarningConfig save(WmsWarningConfig wmsWarningConfig);

    Page<WmsWarningConfig> page(MultiValueMap<String, String> queryParams);

    WmsWarningConfig modify(WmsWarningConfig wmsWarningConfig);

    Optional<WmsWarningConfig> single(UUID uuid);

    List<WmsWarningConfig> findAllByUuids(Iterable<UUID> uuids);

    List<WmsWarningConfig> delete(List<WmsWarningConfig> wmsWarningConfigList);

}
